package ch03sz;

public class Div extends Operation {
    //除法类
    @Override
    public double getResult() {
        if(getBb()==0){
            System.out.println("除数不能为0");
            return -1;
        }
        return getAa()/ getBb();
    }
}
